package com.google.gwt.livinglife.server.data;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.InheritanceStrategy;
import javax.jdo.annotations.PersistenceCapable;

import com.google.gwt.livinglife.client.data.BasicPostData;
import com.google.gwt.livinglife.client.data.CommentData;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
@Inheritance(customStrategy = "complete-table")
public class Comment extends BasicPost {
	Long parent_response_id;
	
	public Comment() {
	}

	public Comment(CommentData data) {
		super(data);
		parent_response_id = data.getParent_response_id();
	}

	public Long getParent_response_id() {
		return parent_response_id;
	}

	public void setParent_response_id(Long parentResponseId) {
		parent_response_id = parentResponseId;
	}
	
}
